@charset "UTF-8";

* {
	padding: 0px;
	margin: 0px;
	list-style: none;
	text-decoration: none;
}

html, body {
	height: 100%
}

header {
	height: 10%;
	line-height: 10%;
	background: #ccc;
}
header li {
	margin: 10px
}

header a {
	padding: 10px;
}

header>div>* {
	vertical-align: middle;
}

header>table {
	height: 100%;
	text-align: right;
	width: auto;
	float: right;
	margin: 0px;
	border-color: transparent;
}
header>td{
	padding: 10px
}

main {
	height: 85%;
	line-height: 100%;
	background: #ddd;
}

footer {
	height: 5%;
	background: #ccc
}

fieldset {
	padding: 20px;
	text-align: center;
	height: 90%
}

legend {
	text-align: left;
	padding: 0px 10px
}

button {
	padding: 2px 20px
}

input{
	width: 120px;
	height: 1.7em;
	padding: 0px 5px;
}

select{
	width: 135px;
	height: 2em;
}

.content {
	width: 1000px;
	max-width: 80%;
	margin: auto;
	padding: 10px;
	height: 100%;
	background: #eee;
}

label{
	display: inline-block;
	padding-right: 20px;
	line-height: 30px;
}
label>*{
	vertical-align: middle;
}

/*------------表格-------------*/
table {
	border-collapse: collapse;
	margin: 10px auto;
	text-align: center;
	width: 100%
}

table td, table th {
	border: 1px solid #cad9ea;
	color: #666;
	height: 30px;
}

table thead th {
	background-color: #CCE8EB;
	width: 100px;
}

table tr:nth-child(odd) {
	background: #fff;
}

table tr:nth-child(even) {
	background: #F5FAFA;
}

table th {
	width: 10%
}

table th:nth-child(1) {
	width: 5%
}
/*------------表格-------------*/

.tip{
	position: relative;
}

.form *{
	margin: 5px
}
.form input{
	width: 220px;
}
.form select{
	width: 235px;
}

/*-------------------作业面板-------------------*/
.hw{
	width: 300px;
	height: 150px;
	display: inline-block;
	border: #ddd 1px solid;
	border-radius: 5px;
	background: #aaa;
	margin: 5px;
	text-align: left;
	padding: 5px
}
.hw:hover{
	background: #bba;
}
.hw-top{
	height: 120px;
}
.hw-top>h5{
	padding:0px 5px;
	color: #333;
	display: inline-block;
}
.hw-top>time{
	float: right;
	color: #333;
	font-size: 0.8em;
}
.hw-top>div{
	height: 90px;
	padding: 5px;
	color: #333;
	font-size: 0.8em;
	clear: both;
}
.hw-btm{
	height: 30px;
	line-height: 30px;
	text-align: right;
	padding: 0px 5px
}
.hw-btm>*{
	vertical-align: middle;
}
/*-------------------作业面板-------------------*/



